package org.hawk.gwtppc.webtest.tests.bugssuite;

import java.lang.reflect.Constructor;

import org.hawk.gwtppc.webtest.common.Asserts;
import org.hawk.gwtppc.webtest.common.Test;
import org.hawk.gwtppc.webtest.tests.mock.EnumComplexMock;

public class Bug_24 implements Test {

	public void run() throws Throwable {
		@SuppressWarnings("unchecked")
		Constructor<EnumComplexMock> c = (Constructor<EnumComplexMock>) EnumComplexMock.class.getDeclaredConstructors()[0];
		
		Asserts.assertEquals(c.getParameterTypes().length, 3);
		Asserts.assertEquals(c.getParameterTypes()[0], String.class);
		Asserts.assertEquals(c.getParameterTypes()[1], int.class);
		Asserts.assertEquals(c.getParameterTypes()[2], String.class);
	}

	public String getName() {
		return "#24";
	}

}
